home *** CD-ROM | disk | FTP | other *** search
/ MacTech 1 to 12 / MacTech-vol-1-12.toast / Source / MacTech® Magazine / Volume 10 - 1994 / 10.12 Dec 94 / ThreadedSprocket / AppSpecific / FuturesDemo.h < prev    next >
Encoding:
C/C++ Source or Header  |  1994-10-17  |  629 b   |  22 lines  |  [TEXT/MPS ]

  1. #ifndef __FUTURESDEMO__
  2. #define __FUTURESDEMO__
  3.  
  4. #include <AppleEvents.h>
  5.  
  6. #define kSillyEventClass    'sily'
  7. #define kPingEvent            'ping'
  8. #define kPing1Event            'png1'
  9. #define kPing2Event            'png2'
  10.  
  11. pascal OSErr HandlePing(AppleEvent question, AppleEvent answer, long handlerRefcon);
  12. pascal OSErr HandlePing1(AppleEvent question, AppleEvent answer, long handlerRefcon);
  13. pascal OSErr HandlePing2(AppleEvent question, AppleEvent answer, long handlerRefcon);
  14.  
  15. void SendSimpleAEvt(AEEventClass theAEEventClass, AEEventID theAEEventID);
  16.  
  17. pascal void InitFuturesDemo(void);
  18. pascal void CleanupFuturesDemo(void);
  19.  
  20. #endif // __FUTURESDEMO__
  21.  
  22.